home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / graphics / 3dvect37.zip / DXF23DV3.ZIP / DXF23DV.DOC < prev    next >
Text File  |  1994-06-12  |  4KB  |  93 lines

  1.  
  2. AutoCAD DXF to 3DVector Converter. V0.3  By John McCarthy (also does .PLG's)
  3.  
  4. Options:
  5.  
  6. DXF23DV inputname outputname [-s# -x# -y# -z# -mfilename -u# -v# -w# -l -n -q]
  7.  
  8.   -x  x translation for object (before scale) - can be floating point, +z = up
  9.   -y  y translation for object (before scale) - can be floating point, +z = up
  10.   -z  z translation for object (before scale) - can be floating point, +z = up
  11.   -s  scale factor                            - can be floating point, +z = up
  12.   -u  x translation for object (after scale)  - integer only, +y = down
  13.   -v  y translation for object (after scale)  - integer only, +y = down
  14.   -w  z translation for object (after scale)  - integer only, +y = down
  15.   -m  materials list filename (corresponds to layer names)
  16.   -l  selective layer processing (only process layers that are found
  17.       in materials file)
  18.   -n  output true calculated surface normal (otherwise 0,0,0)
  19.   -q  negate Y axis
  20.   -b  sort surfaces based on surface normal (default=sort)
  21.  
  22.   I you have trouble assigning a material to a line it may be because the
  23.   layer that the line is on has the shading option.  Lines  do  not  have
  24.   surface normals and therefore  cannot  have  the  shading  option  set.
  25.   If DXF23DV finds this occurance, it will insert  a default texture that
  26.   has no shading texture.  eg:  0,0,colour,0
  27.  
  28.   If your a total knumbskull (like me) and  you  get  ACAD's  co-ordinate
  29.   system messed up (like me) you can use the -q option to  negate  the  Y
  30.   axis and reverse the orientation of the polygons.  This  will  fix  the
  31.   object if it appears to be "backwards".
  32.  
  33.   Do not use punctuation in your material names or layer names.
  34.   A # sign in the materials file means a comment
  35.   A : means to put the following text AFTER the connection data.
  36.  
  37.   Example materials file:
  38.  
  39.       # This is a comment
  40.       # There must be 5 fields in each assigned texture!!
  41.  
  42.       CONSTANT     0,0,0,colour0,0
  43.       SHADED       0,shade,0,colour1,0
  44.       SINE         0,wavey,0,colour2,0
  45.       BOTHSIDES    both,0,0,colour3,0
  46.       BOTHSHADE    both,shade,0,colour4,0
  47.       DOUBLESIDED  double,0,0,colour5a,colour5b
  48.       DOUBLESHADE  double,shade,shade,colour6a,colour6b
  49.       1SHADE2SINE  0,shade,wavey,colour7a,colour7b
  50.       1SINE2SHADE  0,wavey,shade,colour8a,colour8b
  51.       2SINE        double,wavey,wavey,colour9a,colour9b
  52.       SAMPLESIDE   this is,an example,of what,you can,do!
  53.       HIBITMAP     himap:,0,5,5
  54.  
  55.   Material names can be as long as ACAD allows!
  56.  
  57.   Currently there is a limit of 3000 points and 2000 surfaces to any DXF file.
  58.  
  59.   Version 0.2:
  60.  
  61.     REND386 .PLG files can now be converted.  Just enter the PLG  file  (.plg
  62.     extension is important) and the file  will  be  decoded  correctly.   The
  63.     information for the materials is just like DXF.  The 0x11AA in  the  .plg
  64.     is scanned for and the corresponsing material is substituted.
  65.  
  66.     The materials file can now how the keyword RND in it to generate a random
  67.     number   between  0  and  255.  This  may  be  useful  for  sine  texture
  68.     mis-alignment.
  69.  
  70.   Version 0.3:
  71.  
  72.     Colons can be placed in materials to output text/data/comments after a
  73.     polygon face definition.
  74.      Consider a material like so
  75.       MATERIALXY   0,mesh,0,colourxy,0:;hello there
  76.      will return a face line like so
  77.             dw 0,mesh,0,colourxy,0,1,2,3,6,7,1;hello there
  78.  
  79.     Bitmaps can now be defined in AutoCAD and then placed as part of an object.
  80.     Notice how I used the new and fancy colon option?
  81.      eg: a material of
  82.       HIBITMAP     himap:,0,5,5   ;testtest
  83.      will return a line of
  84.             dw himap,29,0,5,5   ;testtest
  85.  
  86.     To implement the bitmap option, define a 3dface in AutoCAD   on  the  layer
  87.     hibitmap.  DXF23DV will find the layer, match it up with the material,  and
  88.     scan for the text "map" in the  material.  If it is found, it will make the
  89.     surface into a bitmap.  This is good for adding  explosions/static  bitmaps
  90.     to dead objects.  Check out XWING to see what I mean.
  91.  
  92.  
  93.